#ifndef MYPROCESSWIN_H
#define MYPROCESSWIN_H

#include <QMainWindow>
#include <QProcess>

namespace Ui {
class MyProcessWin;
}

class MyProcessWin : public QMainWindow
{
    Q_OBJECT

public:
    explicit MyProcessWin(QWidget *parent = 0);
    ~MyProcessWin();

private slots:
    void on_calcBt_clicked();

    void on_noteBt_clicked();

    //自定义一个槽函数启动进程
    void start_process(int exitCode,QProcess::ExitStatus exitStatus);

private:
    Ui::MyProcessWin *ui;
    QProcess mprocess;
};

#endif // MYPROCESSWIN_H
